Skip to content

Conversation

JM-Lab
Copy link
Contributor

@JM-Lab JM-Lab commented Mar 19, 2024

Squashed Commits from PR #234

  • Add Support for Elasticsearch Vector Store
  • Rebase, Fix Compilation and Style Errors; Add Missing Dependencies (Christian Tzolov)
  • Fix ElasticsearchVectorStoreIT FilterExpression with Date Type

@tzolov tzolov added enhancement New feature or request vector store labels Mar 19, 2024
@tzolov tzolov added this to the 1.0.0-M1 milestone Mar 19, 2024
@tzolov tzolov self-assigned this Mar 19, 2024
Copy link
Contributor

@tzolov tzolov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left couple of comments for a references.
Will try to fix those during the merge.

<module>models/spring-ai-mistral-ai</module>
<module>models/spring-ai-vertex-ai-palm2</module>
<module>models/spring-ai-vertex-ai-gemini</module>
<module>models/spring-ai-anthropic</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a valid module. Why did you delete it?

<module>vector-stores/spring-ai-azure</module>
<module>vector-stores/spring-ai-weaviate</module>
<module>vector-stores/spring-ai-redis</module>
<module>vector-stores/spring-ai-gemfire</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Valid module. should not be deleted.

<module>vector-stores/spring-ai-mongodb-atlas-store</module>
<module>spring-ai-spring-boot-starters/spring-ai-starter-mongodb-atlas-store</module>
<module>spring-ai-spring-boot-testcontainers</module>
<module>spring-ai-spring-boot-starters/spring-ai-starter-anthropic</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All

	<module>vector-stores/spring-ai-mongodb-atlas-store</module>
	<module>spring-ai-spring-boot-starters/spring-ai-starter-mongodb-atlas-store</module>
	<module>spring-ai-spring-boot-testcontainers</module>
	<module>spring-ai-spring-boot-starters/spring-ai-starter-anthropic</module>

Are valid and used modules. Should not be deleted.

<jtokkit.version>1.0.0</jtokkit.version>
<victools.version>4.31.1</victools.version>
<bedrockruntime.version>2.25.3</bedrockruntime.version>
<bedrockruntime.version>2.24.8</bedrockruntime.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the Bedrock runtime is downgrated? It is not related to ES


<!-- testing dependencies -->
<testcontainers.version>1.19.7</testcontainers.version>
<testcontainers.version>1.19.6</testcontainers.version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here. This version shouldn't be downgraded


<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-mongodb-atlas-store</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the spring-ai-mongodb-atlas-store is used. Why is it deleted?

@BeforeEach
void cleanDatabase() {
getContextRunner().run(context -> {
// Generating test data for documents with embedding values
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this and why it is commented out?

});
vectorStore.add(documents);

// List<Double> embedding =
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the reason to use preloaded json files instead of Document instances?

@tzolov
Copy link
Contributor

tzolov commented Mar 20, 2024

@JM-Lab , thank you for your contribution.
I found few issues during the review, but hopefully managed to resolve them before the commit.

@tzolov
Copy link
Contributor

tzolov commented Mar 20, 2024

Rebased, squashed and merged at 9334d7d

@tzolov tzolov closed this Mar 20, 2024
@JM-Lab JM-Lab deleted the vector-store-elasticsearch branch March 22, 2024 06:07
@JM-Lab JM-Lab restored the vector-store-elasticsearch branch March 22, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request vector store

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants